package Year22_Month06.day30;

import java.util.Scanner;

public class 计算糖果 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] arr = new int[4];
        for (int i = 0; i < arr.length; i++) {
            arr[i] = sc.nextInt();
        }
        int A = (arr[0] + arr[2]) / 2;
        int B = arr[2] - A;
        int C = arr[3] - B;
        if(B - C == arr[1] && (arr[0] + arr[2]) % 2 == 0){
            System.out.println(A + " " + B + " " + C);
        }else{
            System.out.println("No");
        }
    }
}
